package cn.iocoder.yudao.module.product.convert.emissionsource;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.product.controller.admin.emissionsource.vo.*;
import cn.iocoder.yudao.module.product.dal.dataobject.emissionsource.EmissionSourceDO;

/**
 * 排放源 Convert
 *
 * @author wcl
 */
@Mapper
public interface EmissionSourceConvert {

    EmissionSourceConvert INSTANCE = Mappers.getMapper(EmissionSourceConvert.class);

    EmissionSourceDO convert(EmissionSourceCreateReqVO bean);

    EmissionSourceDO convert(EmissionSourceUpdateReqVO bean);

    EmissionSourceRespVO convertRespVO(EmissionSourceDO bean);

    EmissionSourceEPRespVO convertEPRespVO(EmissionSourceDO bean);

    List<EmissionSourceRespVO> convertList(List<EmissionSourceDO> list);

    PageResult<EmissionSourceRespVO> convertPage(PageResult<EmissionSourceDO> page);

    EmissionSourceEPCRespVO convertEPC(EmissionSourceEPRespVO bean);

    EmissionSourceDownloadVO convert(EmissionSourceDO bean);

}
